//
//  InAboutUsViewController.m
//  我的管理
//
//  Created by brother on 16/3/3.
//  Copyright © 2016年 brother. All rights reserved.
//

#import "InAboutUsViewController.h"
#import <UMSocial.h>
@interface InAboutUsViewController ()<UMSocialUIDelegate>

@end

@implementation InAboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    AppDelegate *delegate = [[UIApplication sharedApplication]delegate];
    self.navigationItem.title = delegate.str;
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)returned:(id)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (IBAction)shareBtnClick:(id)sender {
    [UMSocialSnsService presentSnsIconSheetView:[AppDelegate shareAppdelegate].window.rootViewController
                                         appKey:@"507fcab25270157b37000010"
                                      shareText:@"你要分享的文字"
                                     shareImage:[UIImage imageNamed:@"icon.png"]
                                shareToSnsNames:[NSArray arrayWithObjects:UMShareToSina,UMShareToTencent,UMShareToRenren,nil]
                                       delegate:self];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
